﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Portfolio.DataModels
{
    public class Project
    {
        public int Id { get; set; }
        public string Title { get; set; }
        public string Description { get; set; }
        public string CodePlexUrl { get; set; }
        public string WindowsAzureUrl { get; set; }
        public string LogoUrl { get; set; }
        public virtual List<ProjectImage> ImageUrls { get; set; }

        public Project() { }
        public Project(string title, string descr, string codeplex, string windows)
        {
            Title = title; Description = descr; CodePlexUrl = codeplex; WindowsAzureUrl = windows;
        }
        public Project(Project p)
        {
            this.Id = p.Id;
            this.Title = p.Title;
            this.Description = p.Description;
            this.CodePlexUrl = p.CodePlexUrl;
            this.WindowsAzureUrl = p.WindowsAzureUrl;
            this.LogoUrl = p.LogoUrl;
        }
    }
}